/*
 * XML Type:  PaymentInfo
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.PaymentInfo
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML PaymentInfo(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface PaymentInfo extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("paymentinfo4200type");
    
    /**
     * Gets the "BANKACCTFROM" element
     */
    net.ofx.types.x2003.x04.BankAccount getBANKACCTFROM();
    
    /**
     * Sets the "BANKACCTFROM" element
     */
    void setBANKACCTFROM(net.ofx.types.x2003.x04.BankAccount bankacctfrom);
    
    /**
     * Appends and returns a new empty "BANKACCTFROM" element
     */
    net.ofx.types.x2003.x04.BankAccount addNewBANKACCTFROM();
    
    /**
     * Gets the "TRNAMT" element
     */
    java.lang.String getTRNAMT();
    
    /**
     * Gets (as xml) the "TRNAMT" element
     */
    net.ofx.types.x2003.x04.AmountType xgetTRNAMT();
    
    /**
     * Sets the "TRNAMT" element
     */
    void setTRNAMT(java.lang.String trnamt);
    
    /**
     * Sets (as xml) the "TRNAMT" element
     */
    void xsetTRNAMT(net.ofx.types.x2003.x04.AmountType trnamt);
    
    /**
     * Gets the "PAYEEID" element
     */
    java.lang.String getPAYEEID();
    
    /**
     * Gets (as xml) the "PAYEEID" element
     */
    net.ofx.types.x2003.x04.PayeeIdType xgetPAYEEID();
    
    /**
     * True if has "PAYEEID" element
     */
    boolean isSetPAYEEID();
    
    /**
     * Sets the "PAYEEID" element
     */
    void setPAYEEID(java.lang.String payeeid);
    
    /**
     * Sets (as xml) the "PAYEEID" element
     */
    void xsetPAYEEID(net.ofx.types.x2003.x04.PayeeIdType payeeid);
    
    /**
     * Unsets the "PAYEEID" element
     */
    void unsetPAYEEID();
    
    /**
     * Gets the "PAYEE" element
     */
    net.ofx.types.x2003.x04.Payee getPAYEE();
    
    /**
     * True if has "PAYEE" element
     */
    boolean isSetPAYEE();
    
    /**
     * Sets the "PAYEE" element
     */
    void setPAYEE(net.ofx.types.x2003.x04.Payee payee);
    
    /**
     * Appends and returns a new empty "PAYEE" element
     */
    net.ofx.types.x2003.x04.Payee addNewPAYEE();
    
    /**
     * Unsets the "PAYEE" element
     */
    void unsetPAYEE();
    
    /**
     * Gets the "PAYEELSTID" element
     */
    java.lang.String getPAYEELSTID();
    
    /**
     * Gets (as xml) the "PAYEELSTID" element
     */
    net.ofx.types.x2003.x04.PayeeIdType xgetPAYEELSTID();
    
    /**
     * True if has "PAYEELSTID" element
     */
    boolean isSetPAYEELSTID();
    
    /**
     * Sets the "PAYEELSTID" element
     */
    void setPAYEELSTID(java.lang.String payeelstid);
    
    /**
     * Sets (as xml) the "PAYEELSTID" element
     */
    void xsetPAYEELSTID(net.ofx.types.x2003.x04.PayeeIdType payeelstid);
    
    /**
     * Unsets the "PAYEELSTID" element
     */
    void unsetPAYEELSTID();
    
    /**
     * Gets the "BANKACCTTO" element
     */
    net.ofx.types.x2003.x04.BankAccount getBANKACCTTO();
    
    /**
     * True if has "BANKACCTTO" element
     */
    boolean isSetBANKACCTTO();
    
    /**
     * Sets the "BANKACCTTO" element
     */
    void setBANKACCTTO(net.ofx.types.x2003.x04.BankAccount bankacctto);
    
    /**
     * Appends and returns a new empty "BANKACCTTO" element
     */
    net.ofx.types.x2003.x04.BankAccount addNewBANKACCTTO();
    
    /**
     * Unsets the "BANKACCTTO" element
     */
    void unsetBANKACCTTO();
    
    /**
     * Gets array of all "EXTDPMT" elements
     */
    net.ofx.types.x2003.x04.ExtendedPayment[] getEXTDPMTArray();
    
    /**
     * Gets ith "EXTDPMT" element
     */
    net.ofx.types.x2003.x04.ExtendedPayment getEXTDPMTArray(int i);
    
    /**
     * Returns number of "EXTDPMT" element
     */
    int sizeOfEXTDPMTArray();
    
    /**
     * Sets array of all "EXTDPMT" element
     */
    void setEXTDPMTArray(net.ofx.types.x2003.x04.ExtendedPayment[] extdpmtArray);
    
    /**
     * Sets ith "EXTDPMT" element
     */
    void setEXTDPMTArray(int i, net.ofx.types.x2003.x04.ExtendedPayment extdpmt);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "EXTDPMT" element
     */
    net.ofx.types.x2003.x04.ExtendedPayment insertNewEXTDPMT(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "EXTDPMT" element
     */
    net.ofx.types.x2003.x04.ExtendedPayment addNewEXTDPMT();
    
    /**
     * Removes the ith "EXTDPMT" element
     */
    void removeEXTDPMT(int i);
    
    /**
     * Gets the "PAYACCT" element
     */
    java.lang.String getPAYACCT();
    
    /**
     * Gets (as xml) the "PAYACCT" element
     */
    net.ofx.types.x2003.x04.IdType xgetPAYACCT();
    
    /**
     * Sets the "PAYACCT" element
     */
    void setPAYACCT(java.lang.String payacct);
    
    /**
     * Sets (as xml) the "PAYACCT" element
     */
    void xsetPAYACCT(net.ofx.types.x2003.x04.IdType payacct);
    
    /**
     * Gets the "DTDUE" element
     */
    java.lang.String getDTDUE();
    
    /**
     * Gets (as xml) the "DTDUE" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTDUE();
    
    /**
     * Sets the "DTDUE" element
     */
    void setDTDUE(java.lang.String dtdue);
    
    /**
     * Sets (as xml) the "DTDUE" element
     */
    void xsetDTDUE(net.ofx.types.x2003.x04.DateTimeType dtdue);
    
    /**
     * Gets the "MEMO" element
     */
    java.lang.String getMEMO();
    
    /**
     * Gets (as xml) the "MEMO" element
     */
    net.ofx.types.x2003.x04.MessageType xgetMEMO();
    
    /**
     * True if has "MEMO" element
     */
    boolean isSetMEMO();
    
    /**
     * Sets the "MEMO" element
     */
    void setMEMO(java.lang.String memo);
    
    /**
     * Sets (as xml) the "MEMO" element
     */
    void xsetMEMO(net.ofx.types.x2003.x04.MessageType memo);
    
    /**
     * Unsets the "MEMO" element
     */
    void unsetMEMO();
    
    /**
     * Gets the "BILLREFINFO" element
     */
    java.lang.String getBILLREFINFO();
    
    /**
     * Gets (as xml) the "BILLREFINFO" element
     */
    net.ofx.types.x2003.x04.BillRefInfoType xgetBILLREFINFO();
    
    /**
     * True if has "BILLREFINFO" element
     */
    boolean isSetBILLREFINFO();
    
    /**
     * Sets the "BILLREFINFO" element
     */
    void setBILLREFINFO(java.lang.String billrefinfo);
    
    /**
     * Sets (as xml) the "BILLREFINFO" element
     */
    void xsetBILLREFINFO(net.ofx.types.x2003.x04.BillRefInfoType billrefinfo);
    
    /**
     * Unsets the "BILLREFINFO" element
     */
    void unsetBILLREFINFO();
    
    /**
     * Gets the "BILLPUBINFO" element
     */
    net.ofx.types.x2003.x04.BillPubInfo getBILLPUBINFO();
    
    /**
     * True if has "BILLPUBINFO" element
     */
    boolean isSetBILLPUBINFO();
    
    /**
     * Sets the "BILLPUBINFO" element
     */
    void setBILLPUBINFO(net.ofx.types.x2003.x04.BillPubInfo billpubinfo);
    
    /**
     * Appends and returns a new empty "BILLPUBINFO" element
     */
    net.ofx.types.x2003.x04.BillPubInfo addNewBILLPUBINFO();
    
    /**
     * Unsets the "BILLPUBINFO" element
     */
    void unsetBILLPUBINFO();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.PaymentInfo newInstance() {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.PaymentInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
